import qs from 'qs'
import {
    LogListParams,
} from '../model/systemModel';
import {defHttp} from '/@/utils/http/axios';

enum Api {
    LogList = '/access/operation/logs',

}

export const getLogList = (params: LogListParams) =>
    defHttp.get<any>({
            url: Api.LogList, params, paramsSerializer: params => {
                return qs.stringify(params, {indices: false})
            }
        }
    )

